package com.offcn.sms.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: zola
 * @Date: 2021/9/15 - 09 - 15 - 23:38
 * @Description: com.offcn.sms.config
 * @Version: 1.0
 */
@Configuration
public class SimpleQueueConfig {

    @Bean
    public Queue simpleQueue(){
        return new Queue("dongyimai.sms.service");
    }
}
